<style>
    body {
        height: 100%;
        /* The html and body elements cannot have any padding or margin. */
    }

    body {
        margin-top:60px;
        background-color: #eee;
    }
    /* Set the fixed height of the footer here */
    #push,
    #footer {
        height: 60px;
    }
    #footer {
        background-color: white;
    }
    @media (max-width: 767px) {
        #footer {
            margin-left: -20px;
            margin-right: -20px;
            padding-left: 20px;
            padding-right: 20px;
        }
    }
    .dangnhap {
        margin-top: -20px;
    }
    .form-signin {
        max-width: 330px;
        padding: 15px;
        margin: 0 auto;
    }
    .form-signin .form-signin-heading,
    .form-signin .checkbox {
        margin-bottom: 10px;
    }
    .form-signin .checkbox {
        font-weight: normal;
    }
    .form-signin .form-control {
        position: relative;
        height: auto;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 10px;
        font-size: 16px;
    }
    .form-signin .form-control:focus {
        z-index: 2;
    }
   
    .form-signin input[type="password"] {
        margin-bottom: 1px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        
    }
    
    
    .reserpwd {
        margin-left: 30%;
    }
</style>
<h2 class="dangnhap">Cập nhật username & password</h2>
<hr class="featurette-divider">
<?php
$attributes = array( 'class' => 'form-signin',);
echo form_open("thanhvien/thanhvien/test_self_Profile/". $query['id'], $attributes);
?>

        <input type="text"  class="form-control" placeholder="Username" id="username" name="username" value="<?php echo set_value('username'); ?>" autofocus/>
        <?php echo form_error('username', '<p class="text-danger" style="font-size:15px;">', '</p>');?>
        <br>
        
        <input type="password" id="password"  class="form-control" placeholder="Password"  name="password" value="<?php echo set_value('password'); ?>" autofocus/>
        <?php echo form_error('password', '<p class="text-danger" style="font-size:15px;">', '</p>');?>.
        
        <input type="password" id="con_password"  class="form-control" placeholder="Xác nhận Password"  name="con_password" value="<?php echo set_value('con_password'); ?>" autofocus/>
        <?php echo form_error('con_password', '<p class="text-danger" style="font-size:15px;">', '</p>');?>.
        
        <br><br>
        
<div class="row">
    <div class="col-md-3"></div>
    <div class="col-md-6">
        <button class="btn btn-lg btn-primary btn-block" type="submit">Cập nhật</button>
    </div>
    <div class="col-md-3"></div>
</div>
<?php echo form_close(); ?>

